package cn.edu.lzu.dao;

import cn.edu.lzu.entity.FamilyDiseaseHistory;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @PackageName: cn.edu.lzu.dao
 * @InterfaceName: FamilyDiseaseHistoryMapper
 * @Description: TODO
 * @Author: 张琦[QQ:3098086691]
 * @Date: 2020/4/19 10:41
 * @Version: 1.0
 */
@Mapper
public interface FamilyDiseaseHistoryMapper {
    @Insert("insert into family_disease_history (family_disease_id, family_disease_name, kinship, family_sick_time, is_recovery, record_time, user_identity, is_deleted) values (default, #{familyDiseaseName}, #{kinship}, #{familySickTime}, #{isRecovery}, #{recordTime}, #{userIdentity}, 0)")
    int insFamilyDiseaseHistoryMsg(FamilyDiseaseHistory familyDiseaseHistory);
}
